package cn.fan.whale.entity.po;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class UserEntity implements Serializable {

    private Integer userId;

    private String username;

    private String password;

    private String nickName;

    private String mail;

    private String phone;

    private Integer available;

    private Integer roleId;

    private Integer deptId;

    private String avatarPath;

    private Date ctime;

    private Date mtime;

    private Date lastLoginTime;

    // 验证码
    private String validateCode;

    // 获取验证码时 对应的key
    private String sign;

    private RoleEntity roleEntity;

    private DepartmentEntity departmentEntity;

    private List<Integer> deptIdList;
}
